// 字符串的扩展方法

const message = 'I am a boy.'

console.log(
    message.startsWith('I'),
    message.endsWith('.'),
    message.includes('am'),
    message.indexOf('a')
)